package com.xgggh.redpack.utils;

public class PageAble {

    private static final int firstPage=1;
    private int currentPage=firstPage;
    protected static final int size=18;
    protected static final String sort="id,desc";


    protected int firstPage(){
        return firstPage;
    }

    protected int currentPage(){
        return currentPage;
    }
    protected void setCurrentPage(int page){
        currentPage=page;
    }

    protected int nextPage(){
        return currentPage+1;
    }

}
